#!/usr/bin/env python

import wx

class Labels(wx.ListBox):
    '''Labels class
    
    @author Julot <andy.julot@gmail.com>
    @since Thursday, February 16, 2012. 10:30 AM'''
    
    def __init__(self, parent):
        wx.ListBox.__init__(self, parent)
        self.Style = wx.LB_SINGLE
    
    _values = []
    
    @property
    def values(self):
        return self._values
    
    @values.setter
    def values(self, values):
        self._values = values
        self.Clear()
        for value in values:
            self.Append(value, value)
        